-- GENERATED SPELL FOR [Lunar Festival Harbinger] --


function spell0_15895(pUnit, Event) --6Create Lunar Festival Invitation,n/a--
pUnit:FullCastSpellOnTarget(26375,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15895', 638, 1)
end

function Sorts_15895(pUnit, Event)
local choix_sorts_15895 = math.random(0, 0)
if choix_sorts_15895 == 0 then
pUnit:RegisterEvent('spell0_15895', 1, 1)
end
end

function mob15895_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15895', math.random(1500, 3000), 1)
end

function mob15895_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15895_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15895_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15895, 1, 'mob15895_Action')
RegisterUnitEvent(15895, 2, 'mob15895_Leave')
RegisterUnitEvent(15895, 3, 'mob15895_Kill')
RegisterUnitEvent(15895, 4, 'mob15895_Die')
